/*
 * @Author: 追逐的娃 kangchao_php@163.com
 * @Date: 2024-07-02 17:16:06
 * @LastEditors: 追逐的娃 kangchao_php@163.com
 * @LastEditTime: 2024-07-02 17:22:22
 * @FilePath: \xiyufengqing\H5\src\stores\modules\system.js
 * @Description: 
 * 
 */
import { defineStore } from "pinia";
import {ref} from 'vue'

export const useSystemStore = defineStore('xy-system', () => {
    //所有桌子
    const deskNumber = ref([
        { id: 1, tableNo: '001', number: 4, status: 1, currentIsSelect: false },
        { id: 2, tableNo: '002', number: 4, status: 1, currentIsSelect: false },
        { id: 3, tableNo: '003', number: 4, status: 2, currentIsSelect: false },
        { id: 4, tableNo: '004', number: 4, status: 3, currentIsSelect: false },
        { id: 5, tableNo: '005', number: 4, status: 2, currentIsSelect: false },
        { id: 6, tableNo: '006', number: 4, status: 1, currentIsSelect: false },
        { id: 7, tableNo: '007', number: 4, status: 2, currentIsSelect: false },
        { id: 8, tableNo: '008', number: 4, status: 1, currentIsSelect: false },
        { id: 9, tableNo: '009', number: 4, status: 1, currentIsSelect: false },
        { id: 10, tableNo: '010', number: 4, status: 2, currentIsSelect: false },
        { id: 11, tableNo: '011', number: 4, status: 1, currentIsSelect: false },
        { id: 12, tableNo: '012', number: 4, status: 3, currentIsSelect: false },
        { id: 13, tableNo: '013', number: 4, status: 3, currentIsSelect: false },
    ])

    return{
        deskNumber
    }
})